<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>登录</title>
	</head>
	<body>
		<form action="<%=path%>/aa/lr/reg.xhtm" method="post">
			<div style="text-align: center;">
				<table border="1" style="margin: auto; width: 50%;">
					<tr>
						<td colspan="3">
							注册应用根用户:
						</td>
					</tr>
					<tr>
						<td>
							邮箱:
						</td>
						<td>
							<input type="text" name="email" size="25"
								value="<%=request.getParameter("email")==null?"":request.getParameter("email")%>">
						</td>
						<c:if test="${errors.email!=null}">
							<td>
								${errors.email}
							</td>
						</c:if>

					</tr>

					<tr>
						<td>
							密码:
						</td>
						<td>
							<input type="password" name="password" size="25">
						</td>
						<c:if test="${errors.password!=null}">
							<td>
								${errors.password}
							</td>
						</c:if>

					</tr>

					<tr>
						<td>
							重复密码:
						</td>
						<td>
							<input type="password" name="repassword" size="25">
						</td>
					</tr>

					<tr>
						<td>
							姓名:
						</td>
						<td>
							<input type="text" name="name" size="25"
								value="<%=request.getParameter("name")==null?"":request.getParameter("name")%>">
						</td>
						<c:if test="${errors.name!=null}">
							<td>
								${errors.name}
							</td>
						</c:if>

					</tr>
					<tr>
						<td>
							电话:
						</td>
						<td>
							<input type="text" name="mobile" size="25"
								value="<%=request.getParameter("mobile")==null?"":request.getParameter("mobile")%>">
						</td>
						<c:if test="${errors.mobile!=null}">
							<td>
								${errors.mobile}
							</td>
						</c:if>

					</tr>
					<tr>
						<td>
							<input type="submit" value="提交">
						</td>
						<td>
							<input type="reset" value="重置">
						</td>
					</tr>
				</table>
			</div>

		</form>
	</body>
</html>